package org.levintech.javademo.g3noop;

/**
 * @author levin
 * Created on 2021/6/17
 * [雷学委] CSDN/Juejin Code Demo
 */
public class WangZong implements EarnMoney {
    /**
     * 存款
     * @return
     */
    public String saving() {
        return "¥3000亿";
    }

    public String earnW() {
        return "搞房地产挣钱！！！";
    }

    /**
     * 遗嘱
     * @return
     */
    public final String testament(){
        return "我有多少"+saving()+"分给儿子1500亿，分给女儿1500亿。";
    }
}
